<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
    <title>个人信息-基本信息</title>
    {run $pageName='person'}
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/member/member/index">个人信息</a> > 基本信息</div>
    {include member.inc.leftNav}
    <div class="main">
        <section class="person_index person panel">
            <div class="header"><h1>基本信息</h1></div>
            <form class="form-block clearfix" action="" id="form1">
                <div class="photo fl">
                    <div class="fileWrap {if $user['photo']}active{/if}">
                        <input type="hidden" data-id="imgInput"  name="data[photo]" value="{$user['photo']}"/>
                        <div class="uploaded">
                            <a class="btn_re" data-act="reUpload" href="javascript:;">更改重新上传</a>
                            <p class="img">
                                {if $user['photo']}
                                <img src="{$user['photo']}" alt="">
                                {/if}
                            </p>
                        </div>
                        <div class="fileUpload">
                            <img src="/res/mpe/img/photo.png" alt="">
                            <a href="###" class="btn-upsend">点击上传<input class="fileBar" id="licenceImg" name="src" type="file" accept="image/gif, image/jpeg, image/jpg, image/png, image/bmp" /></a>
                        </div>
                    </div>
                    <p>jpg、gif、png格式</p>
                    <p>尺寸要求：<em class="c-danger">180x180/px</em></p>
                </div>
                <dl  class="message fl">
                    <dt class="user_dt">会员账号</dt>
                    <dd class="user_dd">
                        <span class="name">{$username}</span><a href="javascript:;" data-act="phone_amend" class="link2">修改</a>
                        <p  class="c-danger">(注意：修改联系人手机会变更用户接收交易短信提醒)</p>
                    </dd>
                    <dt>昵称</dt>
                    <dd><input class="form-control"  type="text" value="{$user[nickname]}" name="data[nickname]"  maxlength="20"></dd>
                    <dt>性别</dt>
                    <dd class="radio-wrap">

                        <input name="data[sex]" {if $user[sex]!=1}checked{/if} type="radio"  value="0" id="male"><label for="male">先生</label>
                        <input name="data[sex]" {if $user[sex]==1}checked{/if} type="radio"  value="1" id="female"><label for="female">女士</label>
                    </dd>
                    <dt>邮箱</dt>
                    <dd><input class="form-control"  type="text" value="{$user[email]}" name="data[email]"  maxlength="30"></dd>
                    <dt>QQ</dt>
                    <dd><input class="form-control"  type="text" value="{$user[qq]}" name="data[qq]" maxlength="20"></dd>
                    <dt>注册时间</dt>
                    <dd style="line-height: 38px;">{$user[addtime]} </dd>
                    <dd class="bottom-btn"><input class="btn-primary btn-lg" type="submit" value="保存"></dd>
                </dl>

            </form>
        </section>

        
        
    </div>
</main>

{include member.inc.footer}
{include member.inc.script}

<!-- 手机修改按钮弹窗 -->
<script type="text/html" id="phoneValid">
<form class="formLayer"><dl class="form-block">
    <input type="password" class="hidePwd">
    <dt><span class="asterisk">*</span>新的手机号码</dt>
    <dd>
        <input class="form-control"  placeholder="请输入新的手机号码"  type="text" name="username" autocomplete="false" id="mobile">
    </dd>
    <dt><span class="asterisk">*</span>登陆密码</dt>
    <dd>
        <input class="form-control"  name="password" type="password" autocomplete="false" id="pwd">
    </dd>
    <dt><span class="asterisk">*</span>验证码</dt>
    <dd class="phone-code">
     <button type="button" data-act="getSMS" class="get-code" disabled>获取验证码</button>
     <input class="form-control fl"  name="vcode"  type="text" autocomplete="false" id="vcode">
    </dd>
</dl></form>
</script>

<script>
   seajs.use('person_com',function(person_com){
        person_com.indexInit();
   })
</script>
{include member.inc.foot_hook}
</body>
</html>
